package cetb.data;

import java.sql.Connection;
import java.util.Collection;
import java.util.List;

import cetb.domain.Product;

public interface IProductDAO {
	public Collection<Product> selectShopProducts(Connection conn, String string);
	public List<Product> selectAllProducts(Connection conn, String soid);
	public Product selectProduct(Connection conn, String poid);
	public String selectProductOID(Connection conn, String productID);
	public void insert(Connection conn, Product p, String soid);
	public void update(Connection conn, Product p, String poid);
	public void delete(Connection conn, String poid);
}
